<?php
/**
 * Created by PhpStorm.
 * User: Aliaksei Lazerka
 * Date: 10/12/14
 * Time: 9:18 PM
 */

$loggerFactory = new \log\LoggerFactory(array('conf/log.xml'));

$logger = $loggerFactory->getLoggerByName('browserLogger');

$connectionProperties = new \base\ConnectionProperties();
$connectionProperties->setDbURL('localhost');
$connectionProperties->setDbName('fly');
$connectionProperties->setUsername('root');
$connectionProperties->setPassword('alex_lazer');

$transaction = new \mysql\MySQLTransaction();

$dbActions = new \mysql\MySQLDBActions();

$connection = new \base\Connection($transaction, $connectionProperties, $dbActions, $logger);

$callback = new \mysql\LastIdInnerCallback();